//
//  GuaGuaAndFly.m
//  delegate
//
//  Created by 李广帅 on 2018/3/20.
//  Copyright © 2018年 天蓬大元. All rights reserved.
//

#import "GuaGuaAndFly.h"

#import "CanFlyDuck.h"
#import "QuackForGuaGua.h"

@interface GuaGuaAndFly ()
{
    CanFlyDuck *_flyDuck;
    QuackForGuaGua *_guaGua;
}
@end

@implementation GuaGuaAndFly

- (instancetype)init
{
    self = [super init];
    if (self) {
        
        _flyDuck = [[CanFlyDuck alloc]init];
        self.deletageForFly = _flyDuck;
        
        _guaGua = [[QuackForGuaGua alloc]init];
        self.deletageForQuack = _guaGua;
    }
    return self;
}


@end
